home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Source Code / Libraries / C Internet Config / IC Application Source ƒ / IC Resource ƒ / IC Headers ƒ / IC Component API.h < prev    next >
Encoding:
Text File  |  1995-11-18  |  7.3 KB  |  75 lines  |  [TEXT/SPM ]

  1. r key,ICAttr attr,Ptr buf,long size) \
  2.     ComponentCallNow(kICCSetPref,16);
  3. pascal ICError ICCFindPrefHandle(internetConfigurationComponent inst,StringPtr key,ICAttr* attr,Handle prefh) \
  4.     ComponentCallNow(kICCFindPrefHandle,12);
  5. pascal ICError ICCGetPrefHandle(internetConfigurationComponent inst,StringPtr key,ICAttr* attr,Handle* prefh) \
  6.     ComponentCallNow(kICCGetPrefHandle,12);
  7. pascal ICError ICCSetPrefHandle(internetConfigurationComponent inst,StringPtr key,ICAttr attr,Handle prefh) \
  8.     ComponentCallNow(kICCSetPrefHandle,12);
  9. pascal ICError ICCCountPref(internetConfigurationComponent inst,long* count) \
  10.     ComponentCallNow(kICCCountPref,4);
  11. pascal ICError ICCGetIndPref(internetConfigurationComponent inst,long n,StringPtr key) \
  12.     ComponentCallNow(kICCGetIndPref,8);
  13. pascal ICError ICCDeletePref(internetConfigurationComponent inst,StringPtr key) \
  14.     ComponentCallNow(kICCDeletePref,4);
  15. pascal ICError ICCEnd(internetConfigurationComponent inst) \
  16.     ComponentCallNow(kICCEnd,0);
  17. pascal ICError ICCEditPreferences(internetConfigurationComponent inst,StringPtr key) \
  18.     ComponentCallNow(kICCEditPreferences,4);
  19.  
  20. /* ***** URL Handling ***** */
  21.  
  22. pascal ICError ICCParseURL(internetConfigurationComponent inst,StringPtr hint,Ptr data,long len,long* selStart,long* selEnd,Handle url) \
  23.     ComponentCallNow(kICCParseURL,24);
  24. pascal ICError ICCLaunchURL(internetConfigurationComponent inst,StringPtr hint,Ptr data,long len,long* selStart,long* selEnd) \
  25.     ComponentCallNow(kICCLaunchURL,20);
  26.  
  27. /*
  28.     ***** Mappings Routines *****
  29.     
  30.     Routines for interrogating mappings database.
  31.     
  32.     ----- High Level Routines -----
  33. */
  34.  
  35. pascal ICError ICCMapFilename(internetConfigurationComponent inst,StringPtr filename,ICMapEntry* entry) \
  36.     ComponentCallNow(kICCMapFilename,8);
  37. pascal ICError ICCMapTypeCreator(internetConfigurationComponent inst,OSType fType,OSType fCreator,StringPtr filename,ICMapEntry* entry) \
  38.     ComponentCallNow(kICCMapTypeCreator,16);
  39.  
  40. /* ----- Mid Level Routines ----- */
  41.  
  42. pascal ICError ICCMapEntriesFilename(internetConfigurationComponent inst,Handle entries,StringPtr filename,ICMapEntry* entry) \
  43.     ComponentCallNow(kICCMapEntriesFilename,12);
  44. pascal ICError ICCMapEntriesTypeCreator(internetConfigurationComponent inst,Handle entries,OSType fType,OSType fCreator,StringPtr filename,ICMapEntry* entry) \
  45.     ComponentCallNow(kICCMapEntriesTypeCreator,20);
  46.  
  47. /* ----- Low Level Routines ----- */
  48.  
  49. pascal ICError ICCCountMapEntries(internetConfigurationComponent inst,Handle entries,long* count) \
  50.     ComponentCallNow(kICCCountMapEntries,8);
  51. pascal ICError ICCGetIndMapEntry(internetConfigurationComponent inst,Handle entries,long ndx,long* pos,ICMapEntry* entry) \
  52.     ComponentCallNow(kICCGetIndMapEntry,16);
  53. pascal ICError ICCGetMapEntry(internetConfigurationComponent inst,Handle entries,long pos,ICMapEntry* entry) \
  54.     ComponentCallNow(kICCGetMapEntry,12);
  55. pascal ICError ICCSetMapEntry(internetConfigurationComponent inst,Handle entries,long pos,ICMapEntry* entry) \
  56.     ComponentCallNow(kICCSetMapEntry,12);
  57. pascal ICError ICCDeleteMapEntry(internetConfigurationComponent inst,Handle entries,long pos) \
  58.     ComponentCallNow(kICCDeleteMapEntry,8);
  59. pascal ICError ICCAddMapEntry(internetConfigurationComponent inst,Handle entries,ICMapEntry* entry) \
  60.     ComponentCallNow(kICCAddMapEntry,8);
  61.  
  62. #ifdef __cplusplus
  63. }
  64. #endif
  65.  
  66. #endif /* __H_IC_Component_API__ */
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73.  
  74.  
  75.